﻿using System;
using Machine.Entity;

namespace Machine.IRepository
{
    public interface IMachineWX : IBase<MachineBX>
    {
        object GetPageList(string role, string uid, string status, int pageIndex, int pageSize, string recid = "0");
        object getMachineWX(string WXID);

        object getListByKey(string key, string recid, int pageIndex, int pageSize);
        object getDelList(int pageIndex = 1, int pageSize = 10);

        int updateEntity(MachineBX Entity);
        int updateWX(string wxid, string uid);
        int updateFN(string wxid, string uid);
        int updateCN(string wxid);
    }
}
